package com.weipai.springboot.module.service;

import com.weipai.springboot.model.DemandCategory;
import com.weipai.springboot.model.Shop;
import com.weipai.springboot.model.api.Response;

import java.util.List;
import java.util.Map;

/**
 * @Author: 曹朋飞
 * @Date: 2018/07/27 17:49
 * 
 * 店铺
 */
public interface ShopService {
    
    //删除
    Response deleteById(String shopId);

    //直接从表中彻底删除 shop
    Response deleteByShopId(String shopId);

    //更改状态
    Response changeStatus(String shopId);

    //查询某一店铺的详情
    Response getShopById(String shopId);

    //查询未删除/已删除的数据
    List<Shop> selectAllByShopDel(int shopDel, String search, String sort, String way, Integer applicantStatus);

    //批量删除
    Response batchDeleteById(String[] id);

    //店铺审核
    Response audit(String id,String rejectionReason, String applicantStatus);

    //绑定手机号
    Response updateMobile(String shopId, String mobile, String cold, String oldCode);

    //修改店铺邮箱
    Response updateEmail(String shopId, String email);

    //前端商品详情页的店铺的关注人数、全部商品、店铺名称、logo信息
    Response getShopHeaderInfoByShopId(String shopId);

    Response updateShopById(Shop shop);

    //更改客户的未结算值和已结算值
    Response changeWithdrawal(String shopId, String noWithdrawal, String haveWithdrawal);


}
